package com.gemme.gemme.wode;

import java.util.List;

/**
 * @Author: yangcheng
 * @CreateDate: 2020/8/21 16:16
 */
public class DingDanBean {

    /**
     * code : 0
     * msg : null
     * data : {"addressList":{"id":22,"addressee":"李金龙2","mobile":"18856011317","address":"安徽省合肥市瑶海区平海路，万宝阁，逍遥殿，504号"},"shopProductVoList":[{"id":24,"productName":"紫苏水","brandName":"DECORTE（黛珂）","attributes":[{"attributeName":"净含量","attributeSpecName":"150ml"}],"purchasesNum":1,"price":300,"discountPrice":0,"subTotal":300}],"priceSum":300,"volume":[{"id":31,"userId":null,"sourceType":2,"faceValue":8,"status":null,"startDate":null,"endDate":null,"createTime":null,"updateTime":null,"createBy":null,"updateBy":null,"delFlag":null,"remarks":null}],"subdisCount":300,"orderToken":"6ab75a093e8f4f41866d0c2c3e0278fb"}
     */

    private int code;
    private Object msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getMsg() {
        return msg;
    }

    public void setMsg(Object msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * addressList : {"id":22,"addressee":"李金龙2","mobile":"18856011317","address":"安徽省合肥市瑶海区平海路，万宝阁，逍遥殿，504号"}
         * shopProductVoList : [{"id":24,"productName":"紫苏水","brandName":"DECORTE（黛珂）","attributes":[{"attributeName":"净含量","attributeSpecName":"150ml"}],"purchasesNum":1,"price":300,"discountPrice":0,"subTotal":300}]
         * priceSum : 300.0
         * volume : [{"id":31,"userId":null,"sourceType":2,"faceValue":8,"status":null,"startDate":null,"endDate":null,"createTime":null,"updateTime":null,"createBy":null,"updateBy":null,"delFlag":null,"remarks":null}]
         * subdisCount : 300.0
         * orderToken : 6ab75a093e8f4f41866d0c2c3e0278fb
         */

        private AddressListBean addressList;
        private double priceSum;
        private double subdisCount;
        private String orderToken;
        private List<ShopProductVoListBean> shopProductVoList;
        private List<VolumeBean> volume;

        public AddressListBean getAddressList() {
            return addressList;
        }

        public void setAddressList(AddressListBean addressList) {
            this.addressList = addressList;
        }

        public double getPriceSum() {
            return priceSum;
        }

        public void setPriceSum(double priceSum) {
            this.priceSum = priceSum;
        }

        public double getSubdisCount() {
            return subdisCount;
        }

        public void setSubdisCount(double subdisCount) {
            this.subdisCount = subdisCount;
        }

        public String getOrderToken() {
            return orderToken;
        }

        public void setOrderToken(String orderToken) {
            this.orderToken = orderToken;
        }

        public List<ShopProductVoListBean> getShopProductVoList() {
            return shopProductVoList;
        }

        public void setShopProductVoList(List<ShopProductVoListBean> shopProductVoList) {
            this.shopProductVoList = shopProductVoList;
        }

        public List<VolumeBean> getVolume() {
            return volume;
        }

        public void setVolume(List<VolumeBean> volume) {
            this.volume = volume;
        }

        public static class AddressListBean {
            /**
             * id : 22
             * addressee : 李金龙2
             * mobile : 18856011317
             * address : 安徽省合肥市瑶海区平海路，万宝阁，逍遥殿，504号
             */

            private int id;
            private String addressee;
            private String mobile;
            private String address;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getAddressee() {
                return addressee;
            }

            public void setAddressee(String addressee) {
                this.addressee = addressee;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }
        }

        public static class ShopProductVoListBean {
            /**
             * id : 24
             * productName : 紫苏水
             * brandName : DECORTE（黛珂）
             * attributes : [{"attributeName":"净含量","attributeSpecName":"150ml"}]
             * purchasesNum : 1
             * price : 300.0
             * discountPrice : 0.0
             * subTotal : 300.0
             */

            private int id;
            private String productName;
            private String brandName;
            private int purchasesNum;
            private double price;
            private double discountPrice;
            private double subTotal;
            private String attributeSpecImage;
            String activeId;
            String uuId;
            private List<AttributesBean> attributes;

            public String getActiveId() {
                return activeId;
            }

            public void setActiveId(String activeId) {
                this.activeId = activeId;
            }

            public String getUuId() {
                return uuId;
            }

            public void setUuId(String uuId) {
                this.uuId = uuId;
            }

            public String getAttributeSpecImage() {
                return attributeSpecImage;
            }

            public void setAttributeSpecImage(String attributeSpecImage) {
                this.attributeSpecImage = attributeSpecImage;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getProductName() {
                return productName;
            }

            public void setProductName(String productName) {
                this.productName = productName;
            }

            public String getBrandName() {
                return brandName;
            }

            public void setBrandName(String brandName) {
                this.brandName = brandName;
            }

            public int getPurchasesNum() {
                return purchasesNum;
            }

            public void setPurchasesNum(int purchasesNum) {
                this.purchasesNum = purchasesNum;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public double getDiscountPrice() {
                return discountPrice;
            }

            public void setDiscountPrice(double discountPrice) {
                this.discountPrice = discountPrice;
            }

            public double getSubTotal() {
                return subTotal;
            }

            public void setSubTotal(double subTotal) {
                this.subTotal = subTotal;
            }

            public List<AttributesBean> getAttributes() {
                return attributes;
            }

            public void setAttributes(List<AttributesBean> attributes) {
                this.attributes = attributes;
            }

            public static class AttributesBean {
                /**
                 * attributeName : 净含量
                 * attributeSpecName : 150ml
                 */

                private String attributeName;
                private String attributeSpecName;

                public String getAttributeName() {
                    return attributeName;
                }

                public void setAttributeName(String attributeName) {
                    this.attributeName = attributeName;
                }

                public String getAttributeSpecName() {
                    return attributeSpecName;
                }

                public void setAttributeSpecName(String attributeSpecName) {
                    this.attributeSpecName = attributeSpecName;
                }
            }
        }

        public static class VolumeBean {
            /**
             * id : 31
             * userId : null
             * sourceType : 2
             * faceValue : 8.0
             * status : null
             * startDate : null
             * endDate : null
             * createTime : null
             * updateTime : null
             * createBy : null
             * updateBy : null
             * delFlag : null
             * remarks : null
             */

            private int id;
            private Object userId;
            private int sourceType;
            private double faceValue;
            private Object status;
            private Object startDate;
            private Object endDate;
            private Object createTime;
            private Object updateTime;
            private Object createBy;
            private Object updateBy;
            private Object delFlag;
            private Object remarks;
            private int type;
            private String couponName;
            private int couponType;
            private String couponFaceValue;
            private String meetPrice;

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getCouponName() {
                return couponName;
            }

            public void setCouponName(String couponName) {
                this.couponName = couponName;
            }

            public int getCouponType() {
                return couponType;
            }

            public void setCouponType(int couponType) {
                this.couponType = couponType;
            }

            public String getCouponFaceValue() {
                return couponFaceValue;
            }

            public void setCouponFaceValue(String couponFaceValue) {
                this.couponFaceValue = couponFaceValue;
            }

            public String getMeetPrice() {
                return meetPrice;
            }

            public void setMeetPrice(String meetPrice) {
                this.meetPrice = meetPrice;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public Object getUserId() {
                return userId;
            }

            public void setUserId(Object userId) {
                this.userId = userId;
            }

            public int getSourceType() {
                return sourceType;
            }

            public void setSourceType(int sourceType) {
                this.sourceType = sourceType;
            }

            public double getFaceValue() {
                return faceValue;
            }

            public void setFaceValue(double faceValue) {
                this.faceValue = faceValue;
            }

            public Object getStatus() {
                return status;
            }

            public void setStatus(Object status) {
                this.status = status;
            }

            public Object getStartDate() {
                return startDate;
            }

            public void setStartDate(Object startDate) {
                this.startDate = startDate;
            }

            public Object getEndDate() {
                return endDate;
            }

            public void setEndDate(Object endDate) {
                this.endDate = endDate;
            }

            public Object getCreateTime() {
                return createTime;
            }

            public void setCreateTime(Object createTime) {
                this.createTime = createTime;
            }

            public Object getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Object updateTime) {
                this.updateTime = updateTime;
            }

            public Object getCreateBy() {
                return createBy;
            }

            public void setCreateBy(Object createBy) {
                this.createBy = createBy;
            }

            public Object getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(Object updateBy) {
                this.updateBy = updateBy;
            }

            public Object getDelFlag() {
                return delFlag;
            }

            public void setDelFlag(Object delFlag) {
                this.delFlag = delFlag;
            }

            public Object getRemarks() {
                return remarks;
            }

            public void setRemarks(Object remarks) {
                this.remarks = remarks;
            }
        }
    }
}
